package com.blue.pojo;

public class Dog {
    private Integer age;

    private String name;

    private People master;

    public Dog() {
    }

    public Dog(Integer age, String name, People master) {
        this.age = age;
        this.name = name;
        this.master = master;
    }

    @Override
    public String toString() {
        return "Dog{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", master=" + master +
                '}';
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public People getMaster() {
        return master;
    }

    public void setMaster(People master) {
        this.master = master;
    }
}
